﻿public static class HttpContextExtensions
{
    public static string GetClientIP(this HttpContext context)
    {
        return context.Items["IP"] as string;
    }
    public static string GetDisplayName(this HttpContext context)
    {
        return context.Items["DisplayName"] as string;
    }

    public static string GetGuid(this HttpContext context)
    {
        return context.Items["Guid"] as string;
    }
}